
package com.jy.modules.cims.data.interact.core.credit.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * 
 * @classname: Request4042DTO.java
 * @description: 债权转让月还现金结算Request
 *
 */
public class Request4042DTO extends BaseHeaderRequestDTO {

	@NotBlank(message = "结算申请编号applyCode不能为空")
	private String applyCode;

	@NotBlank(message="申请人applyName不能为空")
	private String applyName;
	
	@NotBlank(message = "合作机构编码cCode不能为空")
	private String cCode;
	
	@NotBlank(message = "业务类型bizType不能为空(2-债权转出 3-贷款转出)")
	private String bizType;
	
	@Valid
	@NotNull(message = "转让债权月还现金结算列表creditList不能为空")
	@Size(min = 1, message = "转让债权月还现金结算列表creditList不能为空")
	private List<RequestCashRepayDTO> creditList;

	
	public String getCCode() {
		return cCode;
	}

	public void setCCode(String cCode) {
		this.cCode = cCode;
	}

	public String getApplyCode() {
		return applyCode;
	}

	public void setApplyCode(String applyCode) {
		this.applyCode = applyCode;
	}

	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public List<RequestCashRepayDTO> getCreditList() {
		return creditList;
	}

	public void setCreditList(List<RequestCashRepayDTO> creditList) {
		this.creditList = creditList;
	}

	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	} 
 
}
